/**
 * Copyright (C) 2008-2009 Cristian Olaru <colaru@gmail.com>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *         http://www.apache.org/licenses/LICENSE-2.0
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
div.exportlinks {
	background-color: #eee;
	border: 1px dotted #999;
	padding: 2px 4px 2px 4px;
	margin-top: 10px;
}

span.export {
	padding: 0 4px 1px 20px;
	display: inline;
	display: inline-block;
	cursor: pointer;
}

div.exportlinks a {
    text-decoration: none;
}

div.exportlinks span {
    background-repeat: no-repeat;
}

span.csv {
    background-image: url(../images/ico_file_csv.png);
}

span.excel {
    background-image: url(../images/ico_file_excel.png);
}

span.pdf {
    background-image: url(../images/ico_file_pdf.png);
}

span.xml {
    background-image: url(../images/ico_file_xml.png);
}

span.pagebanner {
	background-color: #eee;
	border: 1px dotted #999;
	padding: 2px 4px 2px 4px;
	margin-top: 10px;
	display: block;
	border-bottom: none;
}

span.pagelinks {
	background-color: #eee;
	border: 1px dotted #999;
	padding: 2px 4px 2px 4px;
	display: block;
	border-top: none;
	margin-bottom: 10px;
}

th.sorted a, th.sortable a {
    background-position: right;
    display: block;
}

.table th.order1 a {
    background-image: url(../images/arrow_down.png) !important;
}

.table th.order2 a {
    background-image: url(../images/arrow_up.png) !important;
}

div#main .tableHeaderImage { /* Tapestry */
    position: absolute;
    margin: 2px 0 0 -5px;
    background: transparent;
    border: 0;
}

/*.table th.sortable a {
    background-image: url(../images/arrow_off.png);
}*/

.table th.sorted {
    background-color: #ffd;
    color: #000000;
}

.table th.sorted a, .table th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;
}

.table tr.even {
    background: #eee;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

.table tr.odd {
    background: #fff;
    border-top: 1px solid #c0c0c0;
    color: #000000;
}

/* highlight .table row onmouseover */
.table tr.over {
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
}

.detail th {
    text-align: right;
}


/******************************
   Project: CSS Table Galery
   Title: Like Adwords
   Author: Cleiton Francisco
   URL: http://www.cleiton.net/
   Country: Brazil
   Update: 2005-12-18
 *******************************/

    .table {
        border-collapse: collapse;
        border: 2px solid #74B3DC;
        color: #000;
        background: #fff;
        width: 100%;
    }
        .table caption {
            padding: 0 0.6em 0.8em;
            font-size: 1.3em;
            font-weight: bold;
            text-align: left;
            color: #000;
            background: transparent;
        }
        /* For Tapestry's contribTable */
        .table th table, .table th table td {
            width: 100%;
            border: 0px;
        }
        .contribTable th {
            padding: 0px !important;
            background: #d7e9f5;
        }
        .contribTable th .tableHeaderTable {
            margin: 0px !important;
        }
        .table td, .table th, .tableHeaderTable td {
            border: 1px solid #e0e0e0;
            padding: 0.5em;
        }
        .table thead th, .tableHeaderTable td {
            border: 1px solid #e0e0e0;
            text-align: left;
            font-size: 1em;
            font-weight: bold;
            background: #d7e9f5;
        }
        .tableHeaderTable td a {
            text-decoration: none !important;
        }
        .table tfoot th, tfoot td {
            border: 1px solid #e0e0e0;
            text-align: left;
            font-size: 1em;
            background: #e8e8cf;
        }
        .table tfoot th {
            font-weight: bold;
        }
        .table tbody td a {
            background: transparent;
            text-decoration: underline;
        }
        .table tbody td a:hover {
            background: transparent;
            text-decoration: underline;
        }
        .table tbody th a {
            background: transparent;
            text-decoration: underline;
            font-weight: bold;
        }
        .table tbody th, .table tbody td {
            text-align: left;
        }
        .table tfoot td {
            border: 1px solid #996;
        }
        .table tbody tr:hover, .table tr.over, .contribTable tr:hover {
            background: #ffffd9 !important; /* important needed for Tapestry, as is .table tr:hover */
        }
        .contribTable tr.even {
            background: #fff !important;
        }
        .contribTable tr.odd {
            background: #eee !important;
        }
 /* END TABLE */